package com.nzw.pojo.ICCard;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * Created by Administrator on 2018/6/22/022.
 */


@Table(name = "t_iccard")
public class ICCard {

    private Long id;
    private Long userId;
    private Boolean band;
    private Long companyId;
    private Long shopId;
    private String cardCode;
    private String shopName;
    private String mobile;


    @Column(name = "id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }



    @Column(name = "userId")
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


    @Column(name = "shopId")
    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    @Column(name = "band")
    public Boolean getBand() {
        return band;
    }

    public void setBand(Boolean band) {
        this.band = band;
    }

    @Column(name = "companyId")
    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    @Column(name = "cardCode")
    public String getCardCode() {
        return cardCode;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    @Column(name = "shopName")
    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    @Column(name = "mobile")
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }


    @Override
    public String toString() {
        return "ICCard{" +
                "id=" + id +
                ", userId=" + userId +
                ", band=" + band +
                ", companyId=" + companyId +
                ", shopId=" + shopId +
                ", cardCode='" + cardCode + '\'' +
                ", shopName='" + shopName + '\'' +
                ", mobile='" + mobile + '\'' +
                '}';
    }
}
